package com.sgb.kjwl.model.entity.enterprise;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class ServiceQuoteEntity implements Serializable {

    /**
     * no : 1309049544398475264
     * createTime : 1600936707007
     * price : 11111
     * companyName : 阿森松岛阿萨德
     * profile : 阿萨德阿萨德阿萨德阿萨德
     * name : 测试1
     * updateUser : 202003234527054
     * createUser : 202003234527054
     * updateTime : 1600936707007
     * id : 7
     * teamInfoNo : 1309033207479537664
     * serviceTime : 1600963200000
     */

    private String no;
    private long createTime;
    private double price;
    @SerializedName(value = "service_enterprise")
    private String companyName;
    @SerializedName(value = "case_details")
    private String profile;
    private String name;
    private String updateUser;
    private String createUser;
    private long updateTime;
    private long id;
    private String teamInfoNo;
    @SerializedName(value = "serviceTime", alternate = "create_time")
    private long serviceTime;
    private String service_date;

    public String getService_date() {
        if (service_date == null){
            return "";
        }

        String[] a = service_date.split(" ");
        service_date = a[0];
        return service_date;
    }

    public void setService_date(String service_date) {
        this.service_date = service_date;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getTeamInfoNo() {
        return teamInfoNo;
    }

    public void setTeamInfoNo(String teamInfoNo) {
        this.teamInfoNo = teamInfoNo;
    }

    public long getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(long serviceTime) {
        this.serviceTime = serviceTime;
    }
}
